<%@ page language="java" contentType="text/html; charset=UTF-8"
	import="com.baidu.ueditor.ActionEnter"
    pageEncoding="UTF-8"%>
<%@ page trimDirectiveWhitespaces="true" %>
<%

    request.setCharacterEncoding( "utf-8" );
	response.setHeader("Content-Type" , "text/html");
	
	response.setHeader("Access-Control-Allow-Origin", "http://localhost:8080");
	response.setHeader("Access-Control-Allow-Headers", "X-Requested-With,X_Requested_With");
	
	String rootPath = application.getRealPath( "/" );
// 	rootPath = "http://111.230.219.199:8080/ueditor/";
	rootPath = "http://localhost:8080/ueditor/";
	System.out.println("========="+rootPath);
	
	out.write( new ActionEnter( request, rootPath ).exec() );
	
%>